<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <script src="https://unpkg.com/vue/dist/vue.js"></script>
    <title>Document</title>
</head>

<body>
    <ul id="app">
        <template v-for="item in Arr">
            <li>{{item.msg}}</li>
            <li :class="name"></li>
        </template>
    </ul>
    <script>
        var v = new Vue({
            el: '#app',
            data: {
                name: 'name1',
                Arr: [{
                    'msg': 'hallo',
                }, {
                    'msg': 'world',
                }],
            }
        })
    </script>
</body>

</html>